package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 * @ClassName: LocalSceneDO
 * @Description: 本地场景
 * @Date 2021-07-08 13:24
 */
@Data
@TableName(value = "`tbl_local_scene`")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LocalSceneDO extends BaseDoClass {


    @TableField(value = "`home_id`")
    private String homeId;


    @TableField(value = "`gateway_mac`")
    private String gatewayMac;

    /**
     * 本地场景名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 图片地址
     */
    @TableField(value = "`img_url`")
    private String imgUrl;

    /**
     * 设置优先级
     */
    @TableField(value = "`first`")
    private String first;

    /**
     * 场景写入网关的编号
     */
    @TableField(value = "`code`")
    private Integer code;

    /**
     * 场景定时执行的时间
     */
    @TableField(value = "`fixed_time`")
    private String fixedTime;

    /**
     * 执行设备状态信息
     */
    @TableField(exist = false)
    private String executeDeviceState;

    /**
     * 是否首页展示 0：否，1：是
     */
    @TableField(value = "`is_show`")
    private Integer isShow;

    /**
     * 本地场景，组合场景
     */
    @TableField(value = "`scene_type`")
    private Integer sceneType;

}
